package pl.edu.agh.dsrg.sr.chat.consoleClient;

import pl.edu.agh.dsrg.sr.chat.common.MessageChanelNotificationAppender;
import pl.edu.agh.dsrg.sr.chat.protos.ChatOperationProtos.ChatMessage;

public class ConsoleMessageChannelAdapter implements MessageChanelNotificationAppender {

	@Override
	public void messageReceived(ChatMessage chatMessage, String sender) {
//		System.out.println("@@@ ConsoleMessageChannelAdapter.messageReceived() NEW MESSAGE");
		System.out.println("--- " + sender + ": " + chatMessage.getMessage());
	}

}
